@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");
/* 用来导入样式
与下面*中的font-family联动导入Google Web字体 */
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background: #eee;
  /* background-attachment: fixed; */
  /* background-blend-mode: hard-light; */
}

.container {
  position: absolute;
  top: 80px;
  left: 100px;
  right: 100px;
  bottom: 80px;
  background: #eee;
  display: flex;
  /* 变为flex弹性盒子 */
  flex-direction: column;
  /* 主轴为垂直方向，起点在上沿 从上到下纵向排列 */
  justify-content: center;
  /* 在x轴对齐方式 */
  align-items: center;
  /* 在y轴对齐方式 */
  box-shadow: 0 50px 50px rgba(0, 0, 0, 0.5), 0 0 0 100px rgba(0, 0, 0, 0.1); 
}

.container h2 {
  text-align: center;
  font-size: 10em;
  line-height: 0.7em;
  color: #333;
  margin-top: -80px;
  /* 使countdown to ncee 和2021往上走，使整个版面在画面中间 */
}

.container h2 span {
  display: block;
  /* 将countdown to ncee 变为块级元素，使其能独占一行 */
  font-weight: 300;
  letter-spacing: 6px;
  /* 增加字间距，使其字间距变为6px */
  font-size: 0.2em;
}
.countdown {
  display: flex;
  margin-top: 50px;
}
.countdown div {
  position: relative;
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  background: #333;
  color: #fff;
  margin: 0 15px;
  font-size: 3em;
  font-weight: 500;
}
.countdown div:before {
    /* 伪类选择器,在其之前加上文本内容 */
  content: "";
  position: absolute;
  bottom: -30px;
  /* 可与relative联动，使其位置可相对于父级盒子向下 */
  left: 0;
  width: 100%;
  height: 35px;
  background: #ff0;
  color: #333;
  font-size: 0.35em;
  line-height: 35px;
  font-weight: 300;
} 
.container #day:before {
  content: "Days";
}
.container #hour:before {
  content: "Hours";
}
.container #minute:before {
  content: "Minutes";
}
.container #second:before {
  content: "Seconds";
}
